<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Tuxxedo Engine API Documentation</title>

		<link rel="stylesheet" href="./style.css" media="all" type="text/css" />
	</head>
	<body>

<h1>\Tuxxedo\Database</h1>
<div class="box">
	<div class="inner">
		<div class="left-content">
			<fieldset>
				<legend><strong>Meta information</strong></legend>
				<table cellspacing="4" cellpadding="0">
					<tr>
						<td>Availability:</td>
						<td class="value" style="width: 100%">
							Tuxxedo Engine 1.0.0
						</td>
					</tr>
					<tr>
						<td>Type:</td>
						<td class="value" style="width: 100%">
							<a href="./classes.html">Class</a>
						</td>
					</tr>
					<tr>
	<td nowrap="nowrap">Namespace:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="namespace-tuxxedo-167390.html">\Tuxxedo</a>
	</td>
</tr><tr>
	<td nowrap="nowrap">Declared in:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		library/Tuxxedo/Database.php
	</td>
</tr><tr>
	<td nowrap="nowrap">Modifiers:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		abstract
	</td>
</tr><tr>
	<td nowrap="nowrap">Implements:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="interface-tuxxedodatabasedriver-421351.html">\Tuxxedo\Database\Driver</a>
	</td>
</tr><tr>
	<td>&nbsp;</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="interface-tuxxedodesigninvokable-208506.html">\Tuxxedo\Design\Invokable</a>
	</td>
</tr>
				</table>
			</fieldset>
		</div>
		<div class="content">
			<div class="infobox">
				Abstract database class<br />Every main driver class must extend this class in order to be loadable
and to comply with the database access layer interface. This also contains
the factory method used to instanciate a new database driver instance.
			</div>
			<br />
		</div>
		<div style="clear: left;"></div>
	</div>
</div>





<h2><span>Contents</span></h2>
<div class="box edge-title">
	<div class="inner">
		<div class="infobox">
			Table of contents
		</div>

		<h3>
	Properties
	<a name="properties"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Property</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="property-affected-rows-659861.html">$affected_rows</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Affected rows by last successful query that changed</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-configuration-171333.html">$configuration</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Database specific configuration array</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-debug-073642.html">$debug</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Whether or not debug mode is enabled</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-delayed-117657.html">$delayed</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Whether the database connection still is delayed</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-link-695500.html">$link</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Link pointer, this contains the internal link</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-loaded-drivers-162243.html">$loaded_drivers</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;<span class="tag">Static</span>&nbsp;List of loaded drivers used for caching in the</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-queries-582481.html">$queries</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;List of executed queries during execution</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-registry-339453.html">$registry</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Private instance to the Tuxxedo registry</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-shutdown-queries-023062.html">$shutdown_queries</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;List of shutdown queries that will be executed</td>
</tr>
</table><h3>
	Methods
	<a name="methods"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Method</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="method---construct-903906.html">__construct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Default constructor for a new database instance</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method---destruct-861787.html">__destruct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Default destructor, this simply closes a database connection</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-cfg-725820.html">cfg()</a></td>
	<td nowrap="nowrap" style="width: 100%">Returns a configuration value</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-equery-555370.html">equery()</a></td>
	<td nowrap="nowrap" style="width: 100%">Escape all arguments set to the query, prior to formatting</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-factory-265730.html">factory()</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Static</span>&nbsp;Constructs a new database instance</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getaffectedrows-207191.html">getAffectedRows()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the affected rows by last successful query that changed</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getnumqueries-832801.html">getNumQueries()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the number of queries executed during this request</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getqueries-560327.html">getQueries()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the executed queries during this request</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-invoke-313386.html">invoke()</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Final</span>&nbsp;<span class="tag">Static</span>&nbsp;Magic method called when creating a new instance of the</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-setshutdownquery-814492.html">setShutdownQuery()</a></td>
	<td nowrap="nowrap" style="width: 100%">Sets a new query to execute at shutdown</td>
</tr>
</table>
	</div>
</div>







<h2><span>See also</span></h2>
<div class="box edge-title">
	<div class="inner">
		<ul>
			
			<li><a href="./classes.html">List of classes</a></li>
			<li><a href="./index.html">Table of contents</a></li>
		</ul>
	</div>
</div>

		<p>
			<em>Generated by Tuxxedo Engine 1.2.0 "Beloved" Release Candidate 2 (experimental). </em>
		</p>
	</body>
</html>